package com.asset.dispoal.companyUser.service.converter;

import com.asset.dispoal.companyUser.domain.db.entity.SysCompanyUser;
import com.asset.dispoal.companyUser.dto.SysCompanyUserRequest;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author qr
 * @date 2022/3/14$
 */
@Mapper
public interface SysCompanyUserConverter {

    SysCompanyUserConverter INSTANCE = Mappers.getMapper(SysCompanyUserConverter.class);

    List<SysCompanyUser> reqsToDos(List<SysCompanyUserRequest> companyUserList);

}
